/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Model;

/**
 *
 * @author Administrator
 */
public class IntersectionInfo {

    private int nLaneHoriz;
    private int nLaneVert;
    private float fProbabilityHoriz;
    private float fProbabilitynVert;
    private int nSimulationCyleCount;
    private int nRoadLenghtHoriz;
    private int nRoadLenghtVert;


    public IntersectionInfo() {

        // init private instance variables
        nLaneHoriz = 2;
        nLaneVert = 2;
        fProbabilityHoriz = 0.5f;
        fProbabilitynVert = 0.5f;
        nSimulationCyleCount = 1;
        nRoadLenghtHoriz = Const.ROAD_LENGTH_HORIZ;
        nRoadLenghtVert = Const.ROAD_LENGTH_VERT;
    }

    public int getLaneHoriz() {
        return nLaneHoriz;
    }

    public void setLaneHoriz(int nLaneHoriz) {
        this.nLaneHoriz = nLaneHoriz;
    }

    public int getLaneVert() {
        return nLaneVert;
    }

    public void setLaneVert(int nLaneVert) {
        this.nLaneVert = nLaneVert;
    }

    public float getProbabilityHoriz() {
        return fProbabilityHoriz;
    }

    public void setProbabilityHoriz(float fProbabilityHoriz) {
        this.fProbabilityHoriz = fProbabilityHoriz;
    }

    public float getProbabilityVert() {
        return fProbabilitynVert;
    }

    public void setProbabilityVert(float fProbabilitynVert) {
        this.fProbabilitynVert = fProbabilitynVert;
    }

    public int getSimulationCyleCount() {
        return nSimulationCyleCount;
    }

    public void setSimulationCyleCount(int nSimulationCyleCount) {
        this.nSimulationCyleCount = nSimulationCyleCount;
    }

    public int getRoadLenghtHoriz() {
        return nRoadLenghtHoriz;
    }

    public void setRoadLenghtHoriz(int nRoadLenghtHoriz) {
        this.nRoadLenghtHoriz = nRoadLenghtHoriz;
    }

    public int getRoadLenghtVert() {
        return nRoadLenghtVert;
    }

    public void setRoadLenghtVert(int nRoadLenghtVert) {
        this.nRoadLenghtVert = nRoadLenghtVert;
    }

}
